package com.lwq;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName
 * @Description
 * @Author liwq
 * @Date 2021/2/4 16:04
 * @Version 1.0
 */
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
@EnableFeignClients
@EnableCircuitBreaker
@EnableHystrixDashboard
public class HystrixApplication {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(HystrixApplication.class, args);
    }

}